package com.zbkj.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zbkj.dal.dao.ExpressCloudPrintWaybillMapper;
import com.zbkj.dal.entity.express.ExpressCloudPrintWaybill;
import com.zbkj.service.service.ExpressCloudPrintWaybillService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class ExpressCloudPrintWaybillServiceImpl extends ServiceImpl<ExpressCloudPrintWaybillMapper, ExpressCloudPrintWaybill> implements ExpressCloudPrintWaybillService {

    private final ExpressCloudPrintWaybillMapper expressCloudPrintWaybillMapper;

    @Override
    public Boolean createNew(ExpressCloudPrintWaybill expressCloudPrintWaybill) {
        return expressCloudPrintWaybillMapper.insert(expressCloudPrintWaybill) > 0;
    }
}
